package lxy;

public class Workt2 extends Thread{
    @Override
    public void run() {
        for (int i = 'a'; i <= 'z'; i++) {
            System.out.println((char)i);
        }
    }
    public static void main(String[] args) {
        Letter letter = new Letter();
        Workt2 workt2 = new Workt2();
        letter.start();
        workt2.start();
    }
}

class Letter extends Thread{
    @Override
    public void run() {
        for (int i = 'A'; i <= 'Z'; i++) {
            System.out.println((char) i);
        }
    }
}